package beans;

import entities.Citta;
import controllers.CittaFacade;
import java.io.Serializable;
import javax.annotation.PostConstruct;
import javax.inject.Named;
import javax.inject.Inject;
import javax.faces.view.ViewScoped;

@Named(value = "cittaController")
@ViewScoped
public class CittaController extends AbstractController<Citta> implements Serializable {

    @Inject
    private CittaFacade ejbFacade;

    public CittaController() {
        super(Citta.class);
    }

    @PostConstruct
    public void init() {
        super.setFacade(ejbFacade);
    }

}
